package com.xy.server.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.io.File;
import java.io.UnsupportedEncodingException;
import java.util.*;

@RestController
public class FaceRestController {

    private static String classPath = null;
    private static String staticPath = null;
    private static String photoPath = null;

    private static String statFile = "stat.json";
    //projectPath /Volumes/Work/IdeaProjects
    //classPath /Volumes/Work/IdeaProjects/XYProject/target/classes/
    //staticPath /Volumes/Work/IdeaProjects/XYProject/target/classes/static



    @RequestMapping("/face")
    public HashMap<?,?> homepage() throws Exception {

        return null;
    }


    @RequestMapping("/path")
    public Map<String,Integer> view() throws UnsupportedEncodingException {




        return null;
    }


}
